package com.azt.provider.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.azt.api.pojo.Authority;
import tk.mybatis.mapper.common.Mapper;

public interface AuthorityMapper extends Mapper<Authority> {

	List<Authority> getAuthorityByRoleId(Integer roleId);
	List<Authority> getAuthorityByRoleIdAndFunc(@Param("roleId")Integer roleId, @Param("parameterMap") Map<String, Object> parameterMap);
	List<Authority> getAllAuthority();
}
